package com.huiying.entity.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Author: lsh
 * @Date: 2024/10/24/17:00
 * @Description: 订单
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Orders implements Serializable {
    private static final long serialVersionUID = 1L;
    //订单id
    private Long id;
    //订单号
    private Long orderId;
    //接单id
    private Long bidId;
    //交易的用户
    private Long applicantId;
    //交易金额
    private BigDecimal amount;
    //交易状态,0为处理中，1为已完成，2为已取消
    private String status;
    //创建时间
    private LocalDateTime createTime;
    //修改时间
    private LocalDateTime updateTime;
}
